const Layout = () => import("@/layout/index.vue");

export default {
  path: "/",
  name: "home",
  // NOTE： 只需要在首页配置 Layout 组件，其他业务路由会处理为 home 路由下的子路由，所以无需再配置 Layout 组件
  component: Layout,
  redirect: "/buildKg/ontology/index",
  meta: {
    icon: "homeFilled",
    title: "首页",
    rank: 0,
  },
  children: [
    {
      path: "/home",
      name: "Home",
      component: () => import("@/views/TestCmp.vue"),
      meta: {
        title: "首页",
        keepAlive: true,
      },
    },
  ],
} as RouteConfigsTable;
